﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSImport.WordPress
{
    class Tag
    {
        public String slug { get; set; }
        public String name { get; set; }

        public override string ToString()
        {
            StringBuilder strBldr = new StringBuilder();
            strBldr.Append("name: " + name);
            strBldr.Append(", slug: " + slug);
            return strBldr.ToString();
        }

        //public override bool Equals(object obj)
        //{
        //    if (obj is Tag)
        //    {
        //        Tag comp = (Tag)obj;
        //        return comp.name.Equals(name)
        //            && comp.slug.Equals(slug);
        //    }
        //    else
        //    {
        //        return false;
        //    }
        //}

    }
}
